﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditVerifyCircuit.aspx.cs"
    Inherits="Admin_EditVerifyCircuit" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>流程修改</title>
    <link href="../../App_Themes/css/admin_css.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" language="javascript">
        function userinfo(str) {
            window.open('../../WebCommon/UserInfo.aspx?SID=' + str, '', 'width=700,height=580,top=150, left=300');
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table style="width: 509px">
        <tr>
            <td style="width: 71px">
                流程名称 :&nbsp;
            </td>
            <td>
                <asp:TextBox ID="txtVerifyName" runat="server" SkinID="textboxSkin"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtVerifyName"
                    ErrorMessage="流程名不可以空" Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 71px">
                部门名称 :
            </td>
            <td>
                <asp:DropDownList ID="drpDepartmetnName" runat="server"  
                    SkinID="dropdownlistSkin">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td valign="middle" style="width: 71px">
                具体定义 :
            </td>
            <td>
              
                        <asp:GridView ID="GridView1" DataKeyNames="Id,VerifyPeople" runat="server" 
                            AutoGenerateColumns="False"   >
                            <Columns>
                                <asp:BoundField DataField="Id" Visible="false">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="VerifyPeople" Visible="false">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField HeaderText="级数">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="审核人">
                                    <ItemTemplate>
                                        <input id="txtVerifyPeople" runat="server" type="text" readonly="readOnly" /><a href="#"
                                            onclick="javascript:userinfo(parentNode.firstChild.id );"><img alt="" border="0"
                                                src="../../images/addpages.jpg" /></a><asp:RequiredFieldValidator ID="RequiredFieldValidator2"
                                                    runat="server" ControlToValidate="txtVerifyPeople" Display="Dynamic" ErrorMessage="审核人不可为空"></asp:RequiredFieldValidator>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                  
            </td>
        </tr>
        <tr>
            <td style="text-align: left" colspan="2">
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                <asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="提交" SkinID="buttonSkin" />
                <asp:Button ID="btnback" runat="server" CausesValidation="False" OnClick="btnback_Click"
                    SkinID="buttonSkin" Text="返回" />
            </td>
        </tr>
    </table>
    <input id="h1" type="hidden" runat="server" />
    </form>
</body>
</html>
